package nine.test_9_21;

import java.util.Scanner;

public class TestMain3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        int A = scanner.nextInt();
        int B = scanner.nextInt();
        int[][] tree = new int[n + 1][n + 1];
        for (int i = 2; i <= n; i++) {
            int p = scanner.nextInt();
            tree[p][i] = 1;
        }
    }
}
